package com.sixkey.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sixkey.entity.Reservation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sixkey.entity.User;
import com.sixkey.entity.vo.DeptUserVo;
import com.sixkey.entity.vo.ReservationVo;
import com.sixkey.entity.vo.RsAddLengthVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2023-10-05
 */
public interface IReservationService extends IService<Reservation> {
    void saveReservation(Reservation reservation);

    Page<Reservation> queryList(Integer pageNo, Integer pageSize, ReservationVo reservationVo);

//    void updateStatus(Integer id, Integer status);

    void removeBatch(List<Integer> id);

    void updateReservation(Reservation reservation);

    List<Reservation> getReservationList(String authorPhone);

    List<Reservation> getReservation(String theme);

    List<Reservation> getReservationRecordList(String authorPhone);

    List<Reservation> getReservationRecord(String theme);

    Reservation getDetail(int id);

    void removeMeetById(int id);

    void addLength(RsAddLengthVo rsAddLengthVo);

    List<DeptUserVo> getDetailParticipants(int id);

    Reservation getReservationById(Integer id);
}
